package com.wzz.entity;

public class User {
    private String id;
    private String password;

    public String name;
    public String nickName;
    public String sex;
    public int age;
    public String birthday;
    public int delFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public User(){}

    public User(String name){
        this.name = name;
    }

    public User(String name,String nickName,String password,String sex,int age,String birthday){
        this.name = name;
        this.nickName = nickName;
        this.password = password;
        this.sex = sex;
        this.age = age;
        this.birthday = birthday;

    }

    @Override
    public String toString() {
        String user = "user:[";
        user = user + "id:" + this.id
                + ",name:" + this.name
                + ",nickname:" + this.nickName
                + ",password:" + this.password
                + ",age:" + this.age
                + ",sex:" + this.sex
                + ",birthday:" + this.birthday
                + "]";
        return user;
    }
}
